
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont bcui-icon-information-fail"></i>
                    <div class="name">失败</div>
                    <div class="fontclass">.bcui-icon-information-fail</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-icon"></i>
                    <div class="name">提示</div>
                    <div class="fontclass">.bcui-icon-icon</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-topic1"></i>
                    <div class="name">topic</div>
                    <div class="fontclass">.bcui-icon-topic1</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-refresh-single"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.bcui-icon-refresh-single</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-setting-more"></i>
                    <div class="name">点点</div>
                    <div class="fontclass">.bcui-icon-setting-more</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-shoucang"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.bcui-icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-topic"></i>
                    <div class="name">日志</div>
                    <div class="fontclass">.bcui-icon-topic</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-jia"></i>
                    <div class="name">加</div>
                    <div class="fontclass">.bcui-icon-jia</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-jian"></i>
                    <div class="name">减号</div>
                    <div class="fontclass">.bcui-icon-jian</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-calendar"></i>
                    <div class="name">calendar</div>
                    <div class="fontclass">.bcui-icon-calendar</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-check"></i>
                    <div class="name">check</div>
                    <div class="fontclass">.bcui-icon-check</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-alert"></i>
                    <div class="name">alert</div>
                    <div class="fontclass">.bcui-icon-alert</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-blocks"></i>
                    <div class="name">blocks</div>
                    <div class="fontclass">.bcui-icon-blocks</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-activated"></i>
                    <div class="name">activated</div>
                    <div class="fontclass">.bcui-icon-activated</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-chevron-right"></i>
                    <div class="name">chevron-right</div>
                    <div class="fontclass">.bcui-icon-chevron-right</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-chevron-left"></i>
                    <div class="name">chevron-left</div>
                    <div class="fontclass">.bcui-icon-chevron-left</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-calculator"></i>
                    <div class="name">calculator</div>
                    <div class="fontclass">.bcui-icon-calculator</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-cloud"></i>
                    <div class="name">cloud</div>
                    <div class="fontclass">.bcui-icon-cloud</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-chevron-top"></i>
                    <div class="name">chevron-top</div>
                    <div class="fontclass">.bcui-icon-chevron-top</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-collapse"></i>
                    <div class="name">collapse</div>
                    <div class="fontclass">.bcui-icon-collapse</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-chevron-bottom"></i>
                    <div class="name">chevron-bottom</div>
                    <div class="fontclass">.bcui-icon-chevron-bottom</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-computer-filled"></i>
                    <div class="name">computer-filled</div>
                    <div class="fontclass">.bcui-icon-computer-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-computer"></i>
                    <div class="name">computer</div>
                    <div class="fontclass">.bcui-icon-computer</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-confirm"></i>
                    <div class="name">confirm</div>
                    <div class="fontclass">.bcui-icon-confirm</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-disk"></i>
                    <div class="name">disk</div>
                    <div class="fontclass">.bcui-icon-disk</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-copy"></i>
                    <div class="name">copy</div>
                    <div class="fontclass">.bcui-icon-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-hardware-filled"></i>
                    <div class="name">hardware-filled</div>
                    <div class="fontclass">.bcui-icon-hardware-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-expand"></i>
                    <div class="name">expand</div>
                    <div class="fontclass">.bcui-icon-expand</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-error"></i>
                    <div class="name">error</div>
                    <div class="fontclass">.bcui-icon-error</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-full"></i>
                    <div class="name">full</div>
                    <div class="fontclass">.bcui-icon-full</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-hardware"></i>
                    <div class="name">hardware</div>
                    <div class="fontclass">.bcui-icon-hardware</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-info"></i>
                    <div class="name">info</div>
                    <div class="fontclass">.bcui-icon-info</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-loading"></i>
                    <div class="name">loading</div>
                    <div class="fontclass">.bcui-icon-loading</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-minus"></i>
                    <div class="name">minus</div>
                    <div class="fontclass">.bcui-icon-minus</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-mirror"></i>
                    <div class="name">mirror</div>
                    <div class="fontclass">.bcui-icon-mirror</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-nodes"></i>
                    <div class="name">nodes</div>
                    <div class="fontclass">.bcui-icon-nodes</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-network-filled"></i>
                    <div class="name">network-filled</div>
                    <div class="fontclass">.bcui-icon-network-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-overview-filled"></i>
                    <div class="name">overview-filled</div>
                    <div class="fontclass">.bcui-icon-overview-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-overview"></i>
                    <div class="name">overview</div>
                    <div class="fontclass">.bcui-icon-overview</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-network"></i>
                    <div class="name">network</div>
                    <div class="fontclass">.bcui-icon-network</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-pencil"></i>
                    <div class="name">pencil</div>
                    <div class="fontclass">.bcui-icon-pencil</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-refresh"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.bcui-icon-refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-power-off"></i>
                    <div class="name">power-off</div>
                    <div class="fontclass">.bcui-icon-power-off</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-plus"></i>
                    <div class="name">plus</div>
                    <div class="fontclass">.bcui-icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.bcui-icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-security-filled"></i>
                    <div class="name">security-filled</div>
                    <div class="fontclass">.bcui-icon-security-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-stop"></i>
                    <div class="name">stop</div>
                    <div class="fontclass">.bcui-icon-stop</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-security"></i>
                    <div class="name">security</div>
                    <div class="fontclass">.bcui-icon-security</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-start"></i>
                    <div class="name">start</div>
                    <div class="fontclass">.bcui-icon-start</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-setting-filled"></i>
                    <div class="name">setting-filled</div>
                    <div class="fontclass">.bcui-icon-setting-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-setting"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.bcui-icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-storage-filled"></i>
                    <div class="name">storage-filled</div>
                    <div class="fontclass">.bcui-icon-storage-filled</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-terminal"></i>
                    <div class="name">terminal</div>
                    <div class="fontclass">.bcui-icon-terminal</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-storage"></i>
                    <div class="name">storage</div>
                    <div class="fontclass">.bcui-icon-storage</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-times"></i>
                    <div class="name">times</div>
                    <div class="fontclass">.bcui-icon-times</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-triangle-bottom"></i>
                    <div class="name">triangle-bottom</div>
                    <div class="fontclass">.bcui-icon-triangle-bottom</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-trash"></i>
                    <div class="name">trash</div>
                    <div class="fontclass">.bcui-icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont bcui-icon-triangle-top"></i>
                    <div class="name">triangle-top</div>
                    <div class="fontclass">.bcui-icon-triangle-top</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">bcui-icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
